<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        html,body{
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        canvas{
            border: 2px solid black;
        }
    </style>
</head>
<body>
    <canvas width="1000" height="600"></canvas>
    <script>
        let canvas = document.querySelector('canvas')
        let ctx = canvas.getContext('2d')
        ctx.beginPath()
        ctx.moveTo(250,100)
        ctx.arcTo(400,100,200,200,50)
        ctx.stroke()
    </script>
</body>
</html>